import request from '../utils/request'

export function list(params) {
	return request({
		url: '/member/warehouse/list',
		method: 'get',
		params: params
	})
}

export function find(id) {
	return request({
		url: '/member/warehouse/find/' + id,
		method: 'get',
	})
}

export function save(data) {
	return request({
		url: '/member/warehouse/save',
		method: 'post',
		data: data
	})
}

export function del(ids) {
	return request({
		url: "/member/warehouse/del/" + ids,
		method: 'post'
	})
}